package com.dy.lock.screen.component;

import java.util.List;

import com.dy.lock.screen.pojo.MaterialCommentInfo;
import com.dy.lock.screen.scoket.Head;
import com.dy.lock.screen.vo.MaterialCommentResultVo;

public interface MaterialCommentComponent {

	/**
	 * 获取素材评论列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public MaterialCommentResultVo list(String body, Head head);

	/**
	 * 上传文章评论
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean uploadMaterialComment(String body, Head head);

	/**
	 * 获取客户关注的客户的所有评论列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<MaterialCommentInfo> getAttentionCustomerMaterialCommentList(
			String body, Head head);

	/**
	 * 
	 * 获取个人主页下的个人文章评论列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<MaterialCommentInfo> getPersonalMaterialCommentList(
			String body, Head head);

	/**
	 * 获取单个逗评详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public MaterialCommentInfo getMaterialCommentDetail(String body, Head head);

	/**
	 * 删除文章评论后，文章评论下的普通评论也会被删除
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean deleteMaterialComment(String body, Head head);
}
